package com.project.webservice.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.project.util.JSONUtils;
import com.project.webservice.dto.ProGetRidInOutDayDto;
import com.project.webservice.entity.TagInOutIdentifyHis;
import com.project.webservice.mapper.TagInOutIdentifyHisMapper;
import com.project.webservice.service.TagInOutIdentifyHisService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
@Slf4j
public class TagInOutIdentifyHisServiceImpl extends ServiceImpl<TagInOutIdentifyHisMapper, TagInOutIdentifyHis> implements TagInOutIdentifyHisService {
    /**
     * 基站进出站数据跟踪 get_RID_IN_OUT_DAY
     * @param search
     * @return
     */
    public List<ProGetRidInOutDayDto> proGetRidInOutDay(ProGetRidInOutDayDto search){
        log.info("proGetRidInOutDay:{}", JSONUtils.writeExcludeNull(search));
        return baseMapper.proGetRidInOutDay(search);
    }
}
